package edu.npu.cv.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.npu.cv.entity.UserDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserDAO extends BaseMapper<UserDO> {

    public UserDO getUserDOByEmailAndPassword(@Param("email") String email, @Param("password") String password);

    public UserDO getUserDOByAccountAndPassword(@Param("account") String account, @Param("password") String password);

}
